/* 全局样式 */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f4f7fc;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 登录注册表单样式 */
.auth-container {
    max-width: 450px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: #4a6bdf;
    font-weight: bold;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.auth-form input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.auth-form button {
    width: 100%;
    padding: 12px;
    background-color: #4a6bdf;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.auth-form button:hover {
    background-color: #3a5bce;
}

.auth-form .form-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-form .form-footer a {
    color: #4a6bdf;
    text-decoration: none;
}

.auth-form .form-footer a:hover {
    text-decoration: underline;
}

/* 错误提示样式 */
.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

/* 游戏大厅样式 */
.game-hall {
    padding: 20px;
}

.navbar {
    background-color: #4a6bdf;
    padding: 15px 0;
    color: white;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
}

.navbar-nav .nav-link {
    color: white;
    margin: 0 10px;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a6bdf;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .auth-container {
        margin: 20px;
        padding: 20px;
    }
} 